package com.homedo.odin.solution.model.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.homedo.odin.solution.model.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import lombok.Data;

@ApiModel(description = "ProductList商品列表信息")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class ProductListResponseBean extends BaseBean {

    @JsonProperty(value = "ProductId")
    @ApiModelProperty("skuId")
    private Integer productId;

    @JsonProperty(value = "ProductName")
    @ApiModelProperty("商品名称")
    private String productName;

    @JsonProperty(value = "PackUnit")
    @ApiModelProperty("单位")
    private String packUnit;

    @JsonProperty(value = "FileName")
    @ApiModelProperty("图片地址")
    private String fileName;

    @JsonProperty(value = "Price")
    @ApiModelProperty("价格")
    private BigDecimal price;

    @JsonProperty(value = "Count_salesCount")
    @ApiModelProperty("销售数量")
    private Integer countSalesCount;

}
